#include <glog/logging.h>

int main(int argc, char* argv[]) {
    google::SetStderrLogging(google::LogSeverity(FLAGS_minloglevel));
    google::InitGoogleLogging(argv[0]);
    google::SetLogDestination(google::INFO, "log.txt");
    google::SetLogDestination(google::WARNING, "");
    google::SetLogDestination(google::ERROR, "");
    google::SetLogDestination(google::FATAL, "");
    LOG(INFO) << "INFO: Hello, glog!";
    LOG(WARNING) << "WARNING: Hello, glog!";
    LOG(ERROR) << "ERROR: Hello, glog!";
    // LOG(FATAL) << "FATAL: Hello, glog!";
    return 0;
}